package pl.edu.agh.mr.nb.node;

import java.io.Serializable;

import pl.edu.agh.mr.nb.gui.FractalPainter;



public class ComputationResultMsg implements Serializable {

	private static final long serialVersionUID = -7346057685387772825L;

	public int id;
	public int[] results;
	public int size;
	public String clientName;
	
	public ComputationResultMsg() {	
		results = new int[FractalPainter.DIMX*FractalPainter.DIMY];
		size = FractalPainter.DIMX*FractalPainter.DIMY;
	}
	
	public ComputationResultMsg(int [] results) {
		this.results = results;
	}

	public int [] getResults() {
		return results;
	}

}

